package com.parktech.sun.domain.repository.sunhz;

import com.parktech.sun.domain.model.sunhz.Enterprise;
import com.parktech.sun.domain.model.sunhz.EnterpriseCategoryProduct;
import com.parktech.sun.domain.repository.BaseRepository;
import com.parktech.sun.domain.repository.Page;
import org.hibernate.Criteria;

/**
 * User: Think
 * Date: 2010-12-28
 * Time: 2:46:00
 */
public interface EnterpriseRepository extends BaseRepository<Enterprise> {

    void saveOrUpdateCategoryProduct(EnterpriseCategoryProduct enterpriseCategoryProduct);

    EnterpriseCategoryProduct getProductById(Long productId);
}
